*******************************************************************************
*** Declare global paths etc.
*******************************************************************************

clear all
cls

*set paths for data, proc. data and results
global project "YOUR PROJECT PATH HERE"

* Automatically created subfolders 
global rawdata "${project}/raw_data"
global procdata "${project}/processed_data"
global tables "${project}/tables"
global figures "${project}/figures"


*******************************************************************************
*** Generate data and all results (descriptives and regressions)
*******************************************************************************

*** Generate the three main datasets used throughout the paper
*** Corporate lending, consumer lending, and lenders' balance sheets
do "./01_gen_0_all.do"


*** Generate all descriptive statistics (figures, maps, tables)
do "./02_descr_0_all.do"


*** Run all regressions 
do "./03_reg_0_all.do"

